package org.github.manx98.jlibhac.tools.ncm;

import lombok.Data;
import org.github.manx98.jlibhac.fs.IStorage;

import java.io.IOException;

/**
 * @author Manx98
 * @version 1.0
 * @since 2022/10/6 18:56
 */
@Data
public class FragmentMapEntry {
    public short ContentIndex;
    public short FragmentIndex;

    public FragmentMapEntry(IStorage reader) throws IOException {
        ContentIndex = reader.readShort();
        FragmentIndex = reader.readShort();
    }
}
